Skip to main content

text

Type

property

Summary

Specifies the text contained by avatar image.

Syntax

set the text of widget to <string>
get the text of widget

Description

The text of an avatar image is the binary data that makes up the image. The following formats are supported:

Fully Supported Formats Setting the text to one of these formats displays the image as expected and sets the paintCompression to the correct type automatically. The data is also preserved meaning that getting the text returns the original data unchanged.

  • GIF (All platforms)
  • JPEG (All platforms)
  • PNG (All platforms)
  • WMF (Windows only - Windows Metafile)
  • EMF (Windows only - Windows Enhanced Metafile)

Examples

set the text of widget "Circle Avatar" to URL"binfile:/HD/Projects/blipvert.gif"

Compatibility and Support

OS

mac

windows

linux

ios

android

web

Platforms

desktop

mobile

web